package com.lst.api.service;

import com.lst.api.entity.ApplyInfo;
import com.lst.api.vo.ApplyInfoVo;
import com.lst.tools.mybatis.service.IBaseService;

/**
 * 借款数据信息表业务层
 *
 * @author Frank
 * @date 2019-12-30 10:31:37
 * @version: V1.0
 */
public interface IApplyInfoService extends IBaseService<ApplyInfo> {
    /**
     * 保存
     *
     * @param userId
     * @param applyNo
     * @param applyInfoVo
     * @return
     */
    boolean saveOrUpdate(long userId, String applyNo, ApplyInfoVo applyInfoVo);

    /**
     * 根据申请编号获取申请信息
     *
     * @param applyNo
     * @return
     */
    ApplyInfo getByApplyNo(String applyNo);
}
